package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.TenantInfo;
import com.ruoyi.system.domain.TotalFeeInfo;

import java.util.List;

public interface TotalFeeMapper {

    /**
     * 查询选定年月的所有费用的信息
     * @return
     */
    public List<TotalFeeInfo> selectAllTotalFeeInfos(TotalFeeInfo totalFeeInfo);

    /**
     * 查询过滤的费用信息
     * @return
     */
    public List<TotalFeeInfo> selectTotalFeeInfos(TotalFeeInfo totalFeeInfo);

    public boolean createNewTotalFeePartition(String createPartition);

    public String checkPartitionExisted(String partitionName);

    public boolean createTotalFee(String yyyyMM);

    public boolean deleteTotalFee(Integer yyyyMM);

    public boolean insertTotalFee(TotalFeeInfo totalFeeInfo);
}
